home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / mymem1 / myset.frm < prev   
Text File  |  1995-05-08  |  14KB  |  515 lines

  1. VERSION 2.00
  2. Begin Form Myset 
  3.    BorderStyle     =   3  'Fixed Double
  4.    Caption         =   "Settings"
  5.    ClientHeight    =   3375
  6.    ClientLeft      =   1095
  7.    ClientTop       =   1485
  8.    ClientWidth     =   5895
  9.    Height          =   3780
  10.    Icon            =   0
  11.    Left            =   1035
  12.    LinkMode        =   1  'Source
  13.    LinkTopic       =   "Form1"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   3375
  17.    ScaleWidth      =   5895
  18.    Top             =   1140
  19.    Width           =   6015
  20.    Begin Frame FrameSave 
  21.       Caption         =   "Save Settings to:"
  22.       Height          =   975
  23.       Left            =   120
  24.       TabIndex        =   28
  25.       Top             =   2280
  26.       Width           =   5655
  27.       Begin OptionButton OptionSaveWEP 
  28.          Caption         =   "Save to ENTPACK.INI"
  29.          Height          =   255
  30.          Left            =   3000
  31.          TabIndex        =   23
  32.          Top             =   600
  33.          Width           =   2295
  34.       End
  35.       Begin OptionButton OptionSaveMy 
  36.          Caption         =   "Save to MyMemory.INI"
  37.          Height          =   255
  38.          Left            =   120
  39.          TabIndex        =   21
  40.          Top             =   600
  41.          Width           =   2295
  42.       End
  43.       Begin OptionButton OptionSaveWIN 
  44.          Caption         =   "Save to WIN.INI"
  45.          Height          =   255
  46.          Left            =   3000
  47.          TabIndex        =   22
  48.          Top             =   240
  49.          Width           =   1935
  50.       End
  51.       Begin OptionButton OptionSaveNo 
  52.          Caption         =   "Don't Save"
  53.          Height          =   255
  54.          Left            =   120
  55.          TabIndex        =   20
  56.          Top             =   240
  57.          Width           =   2295
  58.       End
  59.    End
  60.    Begin CheckBox CheckScore 
  61.       Caption         =   "Save Best Score"
  62.       Height          =   255
  63.       Left            =   3960
  64.       TabIndex        =   19
  65.       Top             =   1800
  66.       Width           =   1935
  67.    End
  68.    Begin Frame FrameTime 
  69.       Caption         =   "Unmatched Pairs Stay Visible (seconds)"
  70.       Height          =   615
  71.       Left            =   120
  72.       TabIndex        =   27
  73.       Top             =   1560
  74.       Width           =   3735
  75.       Begin OptionButton OptionS5 
  76.          Caption         =   " 5"
  77.          Height          =   255
  78.          Left            =   3000
  79.          TabIndex        =   18
  80.          Top             =   240
  81.          Width           =   495
  82.       End
  83.       Begin OptionButton OptionS4 
  84.          Caption         =   " 4"
  85.          Height          =   255
  86.          Left            =   2280
  87.          TabIndex        =   17
  88.          Top             =   240
  89.          Width           =   495
  90.       End
  91.       Begin OptionButton OptionS3 
  92.          Caption         =   " 3"
  93.          Height          =   255
  94.          Left            =   1560
  95.          TabIndex        =   16
  96.          Top             =   240
  97.          Width           =   495
  98.       End
  99.       Begin OptionButton OptionS2 
  100.          Caption         =   " 2"
  101.          Height          =   255
  102.          Left            =   840
  103.          TabIndex        =   15
  104.          Top             =   240
  105.          Width           =   495
  106.       End
  107.       Begin OptionButton OptionS1 
  108.          Caption         =   " 1"
  109.          Height          =   255
  110.          Left            =   120
  111.          TabIndex        =   14
  112.          Top             =   240
  113.          Width           =   495
  114.       End
  115.    End
  116.    Begin CommandButton CmdCancel 
  117.       Caption         =   "Cancel"
  118.       Height          =   495
  119.       Left            =   4800
  120.       TabIndex        =   1
  121.       Top             =   960
  122.       Width           =   855
  123.    End
  124.    Begin Frame FrameSquare 
  125.       Caption         =   "Square Size (pixels)"
  126.       Height          =   615
  127.       Left            =   2280
  128.       TabIndex        =   26
  129.       Top             =   840
  130.       Width           =   2295
  131.       Begin OptionButton OptionP48 
  132.          Caption         =   "48"
  133.          Height          =   255
  134.          Left            =   1560
  135.          TabIndex        =   13
  136.          Top             =   240
  137.          Width           =   615
  138.       End
  139.       Begin OptionButton OptionP40 
  140.          Caption         =   "40"
  141.          Height          =   255
  142.          Left            =   840
  143.          TabIndex        =   12
  144.          Top             =   240
  145.          Width           =   615
  146.       End
  147.       Begin OptionButton OptionP32 
  148.          Caption         =   "32"
  149.          Height          =   255
  150.          Left            =   120
  151.          TabIndex        =   11
  152.          Top             =   240
  153.          Width           =   615
  154.       End
  155.    End
  156.    Begin Frame FrameY 
  157.       Caption         =   "Vertical Squares"
  158.       Height          =   615
  159.       Left            =   120
  160.       TabIndex        =   25
  161.       Top             =   840
  162.       Width           =   2175
  163.       Begin OptionButton OptionV10 
  164.          Caption         =   "10"
  165.          Height          =   255
  166.          Left            =   1560
  167.          TabIndex        =   10
  168.          Top             =   240
  169.          Width           =   495
  170.       End
  171.       Begin OptionButton OptionV8 
  172.          Caption         =   " 8"
  173.          Height          =   255
  174.          Left            =   840
  175.          TabIndex        =   9
  176.          Top             =   240
  177.          Width           =   495
  178.       End
  179.       Begin OptionButton OptionV6 
  180.          Caption         =   " 6"
  181.          Height          =   255
  182.          Left            =   120
  183.          TabIndex        =   8
  184.          Top             =   240
  185.          Width           =   495
  186.       End
  187.    End
  188.    Begin CommandButton CmdOK 
  189.       Caption         =   "OK"
  190.       Default         =   -1  'True
  191.       Height          =   495
  192.       Left            =   4800
  193.       TabIndex        =   0
  194.       Top             =   240
  195.       Width           =   855
  196.    End
  197.    Begin Frame FrameX 
  198.       Caption         =   "Horizontal Squares"
  199.       Height          =   615
  200.       Left            =   120
  201.       TabIndex        =   24
  202.       Top             =   120
  203.       Width           =   4455
  204.       Begin OptionButton OptionH18 
  205.          Caption         =   "18"
  206.          Height          =   255
  207.          Left            =   3720
  208.          TabIndex        =   7
  209.          Top             =   240
  210.          Width           =   615
  211.       End
  212.       Begin OptionButton OptionH16 
  213.          Caption         =   "16"
  214.          Height          =   255
  215.          Left            =   3000
  216.          TabIndex        =   6
  217.          Top             =   240
  218.          Width           =   615
  219.       End
  220.       Begin OptionButton OptionH14 
  221.          Caption         =   "14"
  222.          Height          =   255
  223.          Left            =   2280
  224.          TabIndex        =   5
  225.          Top             =   240
  226.          Width           =   615
  227.       End
  228.       Begin OptionButton OptionH12 
  229.          Caption         =   "12"
  230.          Height          =   255
  231.          Left            =   1560
  232.          TabIndex        =   4
  233.          Top             =   240
  234.          Width           =   615
  235.       End
  236.       Begin OptionButton OptionH10 
  237.          Caption         =   "10"
  238.          Height          =   255
  239.          Left            =   840
  240.          TabIndex        =   3
  241.          Top             =   240
  242.          Width           =   615
  243.       End
  244.       Begin OptionButton OptionH8 
  245.          Caption         =   " 8"
  246.          Height          =   255
  247.          Left            =   120
  248.          TabIndex        =   2
  249.          Top             =   240
  250.          Width           =   615
  251.       End
  252.    End
  253. End
  254. Dim TempX As Integer
  255. Dim TempY As Integer
  256. Dim TempTime As Single
  257. Dim TempFile As Integer
  258. Dim TempScore As Integer
  259. Dim TempSquare As Integer
  260.  
  261. Sub CheckScore_Click ()
  262.     TempScore = CheckScore.Value
  263. End Sub
  264.  
  265. Sub CmdCancel_Click ()
  266.     Unload MySet
  267. End Sub
  268.  
  269. Sub CmdOK_Click ()
  270. 'Hide Form first so we don't